<?php

class Core_Frontend_Component_Concessions_View_Category_List extends Core_Frontend_Share_View_List {

    public function render(){
        $this->getTemplate()->assign('concessions', $this->concessions);
        return parent::render();;
    }

    protected function buildPagination($pagination) {
        parent::buildPagination($pagination);
        $url = $this->getPaginationUrl();
        $pagination->setUrlFormat($url)->setRecordCount($this->getRecords());
    }
}